(Fcopy_file) [WINDOWSNT]: Reverse logic for setting
authorJason Rumney <jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:05 +0000 (01:22 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:05 +0000 (01:22 +0000)
timestamp.

src/fileio.c

index 72c9faccddda36d46a9fd2a769d30ec9977d6436..02b45ed077cecea594fc45fcf77b305515b95f84 100644 (file)
@@ -2405,7 +2405,8 @@ A prefix arg makes KEEP-TIME non-nil.  */)
                 SDATA (encoded_newname),
                 FALSE))
     report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil)));
-  else if (!NILP (keep_time))
+  /* CopyFile retains the timestamp by default.  */
+  else if (NILP (keep_time))
     {
       EMACS_TIME now;
       DWORD attributes;